var arr = ["./ images / 轮播图01.jpg", "./ images / 轮播图02.jpg", "./ images / 轮播图03.jpg", "./ images / 轮播图04.jpg"]
var index = 0
var lbt = document.getElementById("lbt")
function a() {
    index = ++index % arr.length
    lbt.firstElementChild.src = arr[index]
    setTimeout("a()", 2000)
}
window.onload = a